//
//  smAppDelegate.h
//  shimaoHouse
//
//  Created by amy zhang on 12-6-27.
//  Copyright (c) 2012年 yst. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "smMboCallbackHandler.h"

@interface smAppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) UINavigationController *navController;

@property (nonatomic, retain) NSDate *connectStartTime;
@property (nonatomic, retain) smMboCallbackHandler *callbackHandler;

@property (nonatomic, assign) BOOL firstrun;
@property (nonatomic, retain) UIAlertView *passwordAlert;
@property (nonatomic, retain) UIAlertView *noTransportAlert;

@property (nonatomic, retain) NSString *pin;
@property (nonatomic, retain) NSString *SUPPassword;
@property (nonatomic, retain) UITextField *PINField;
@property (nonatomic, retain) UITextField *SUPPasswordField;

@property (nonatomic, retain) NSString *SUPServerName;
@property (nonatomic, retain) NSString *SUPServerPort;
@property (nonatomic, retain) NSString *SUPUserName;
@property (nonatomic, retain) NSString *SUPFarmID;
@property (nonatomic, retain) NSString *SUPConnectionName;
@property (nonatomic, retain) NSString *SUPActivationCode;
@property (nonatomic, assign) BOOL SUPManualRegistration;

- (void)initializeSmMbo;

@end
